local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1
L0_1 = {}
L0_1.group_id = 133106506
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 506001
L2_1.gadget_id = 70290199
L3_1 = {}
L3_1.x = -681.834
L3_1.y = 282.068
L3_1.z = 2100.706
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 352.123
L3_1.y = 201.826
L3_1.z = 9.521
L2_1.rot = L3_1
L2_1.level = 36
L2_1.persistent = true
L2_1.area_id = 19
L3_1 = {}
L3_1.config_id = 506002
L3_1.gadget_id = 70290191
L4_1 = {}
L4_1.x = -674.508
L4_1.y = 277.275
L4_1.z = 2073.112
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 343.415
L4_1.y = 320.847
L4_1.z = 359.785
L3_1.rot = L4_1
L3_1.level = 36
L3_1.persistent = true
L3_1.area_id = 19
L4_1 = {}
L4_1.config_id = 506003
L4_1.gadget_id = 70290191
L5_1 = {}
L5_1.x = -677.685
L5_1.y = 279.95
L5_1.z = 2086.928
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 14.218
L5_1.y = 134.009
L5_1.z = 359.011
L4_1.rot = L5_1
L4_1.level = 36
L4_1.persistent = true
L4_1.area_id = 19
L5_1 = {}
L5_1.config_id = 506004
L5_1.gadget_id = 70211121
L6_1 = {}
L6_1.x = -682.637
L6_1.y = 282.464
L6_1.z = 2101.66
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 1.334
L6_1.y = 200.414
L6_1.z = 9.641
L5_1.rot = L6_1
L5_1.level = 26
L5_1.drop_tag = "\232\167\163\232\176\156\233\171\152\231\186\167\231\146\131\230\156\136"
L6_1 = GadgetState
L6_1 = L6_1.ChestLocked
L5_1.state = L6_1
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 19
L6_1 = {}
L6_1.config_id = 506005
L6_1.gadget_id = 70330021
L7_1 = {}
L7_1.x = -669.359
L7_1.y = 279.802
L7_1.z = 2097.53
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 355.582
L7_1.y = 0.444
L7_1.z = 348.525
L6_1.rot = L7_1
L6_1.level = 36
L6_1.area_id = 19
L7_1 = {}
L7_1.config_id = 506007
L7_1.gadget_id = 70290191
L8_1 = {}
L8_1.x = -670.725
L8_1.y = 279.767
L8_1.z = 2092.051
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 346.318
L8_1.y = 320.838
L8_1.z = 359.871
L7_1.rot = L8_1
L7_1.level = 36
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 19
L8_1 = {}
L8_1.config_id = 506008
L8_1.gadget_id = 70290190
L9_1 = {}
L9_1.x = -661.631
L9_1.y = 274.999
L9_1.z = 2069.27
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 345.201
L9_1.y = 322.034
L9_1.z = 4.549
L8_1.rot = L9_1
L8_1.level = 36
L8_1.persistent = true
L8_1.area_id = 19
L9_1 = {}
L9_1.config_id = 506009
L9_1.gadget_id = 70330021
L10_1 = {}
L10_1.x = -655.28
L10_1.y = 273.495
L10_1.z = 2066.506
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 351.891
L10_1.y = 0.126
L10_1.z = 358.224
L9_1.rot = L10_1
L9_1.level = 36
L9_1.area_id = 19
L10_1 = {}
L10_1.config_id = 506010
L10_1.gadget_id = 70290190
L11_1 = {}
L11_1.x = -660.223
L11_1.y = 276.781
L11_1.z = 2082.924
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 7.463
L11_1.y = 174.547
L11_1.z = 1.649
L10_1.rot = L11_1
L10_1.level = 36
L10_1.persistent = true
L10_1.area_id = 19
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1506006
L2_1.name = "ANY_GADGET_DIE_506006"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_506006"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_506006"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 506001
L5_1 = 506002
L6_1 = 506003
L7_1 = 506004
L8_1 = 506005
L9_1 = 506007
L10_1 = 506008
L11_1 = 506009
L12_1 = 506010
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_506006"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 506001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_506006 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 506004
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_506006 = L1_1
